package com.bytecodes.eaulas.comun.excepciones;

import com.bytecodes.eaulas.comun.servicios.TDSLanguageUtils;

 

/**
 * Clase personalizada para capturar excepciones
 * @version 1; 19-12-2011; java version "1.7.0";
 * @author Armando Ambite
 */
public class EAulasReservasExcepcion extends Exception {

    private static final long serialVersionUID = 1L;


    /**
     * Constructor sin parámetros. Delega en la superclase.
     */
    public EAulasReservasExcepcion() {
        super();
    }

    /**
     * Constructor con un parámetro.
     * @param msg  Mensaje que tiene que mostrar la excepción.
     * Busca el texto del mensaje en el fichero de idiomas con el código del error.
     */
    public EAulasReservasExcepcion(String msg) {
        super(msg);
        System.out.println(msg);
       
    }
    public static final String ERR_CONECTION = TDSLanguageUtils.getMessage("ERR_CONECTION");
    public static final String ERR_SQL = TDSLanguageUtils.getMessage("ERR_SQL");
    public static final String ERR_SQL_USUARIO = TDSLanguageUtils.getMessage("ERR_SQL_USUARIO");
    public static final String ERR_SQL_AULAS = TDSLanguageUtils.getMessage("ERR_SQL_AULAS");
    public static final String ERR_SQL_EXTRAS = TDSLanguageUtils.getMessage("ERR_SQL_EXTRAS");
    public static final String ERR_SQL_INSERTAR = TDSLanguageUtils.getMessage("ERR_SQL_INSERTAR");
    public static final String ERR_SQL_SENTENCIA = TDSLanguageUtils.getMessage("ERR_SQL_SENTENCIA");
    public static final String ERR_SQL_CREAR_PREPARED_STATEMENT = TDSLanguageUtils.getMessage("ERR_SQL_CREAR_PREPARED_STATEMENT");
    public static final String ERR_SQL_EJECUTAR_PREPARED_STATEMENT = TDSLanguageUtils.getMessage("ERR_SQL_EJECUTAR_PREPARED_STATEMENT");
    public static final String ERR_BD_STOP = TDSLanguageUtils.getMessage("ERR_BD_STOP");
    public static final String ERR_DRV = TDSLanguageUtils.getMessage("ERR_DRV");
    public static final String ERR_NOT_INC = TDSLanguageUtils.getMessage("ERR_NOT_INC");
    public static final String ERR_NOT_DATE = TDSLanguageUtils.getMessage("ERR_NOT_DATE");
    public static final String ERR_INSERT = TDSLanguageUtils.getMessage("ERR_INSERT");
    public static final String ERR_PARSE = TDSLanguageUtils.getMessage("ERR_PARSE");
    public static final String ERR_OBJ_RMI = TDSLanguageUtils.getMessage("ERR_OBJ_RMI");
    public static final String ERR_DESC_EXEC = TDSLanguageUtils.getMessage("ERR_DESC_EXEC");
    public static final String ERR_NO_COD = TDSLanguageUtils.getMessage("ERR_NO_COD");
    public static final String ERR_DESC = TDSLanguageUtils.getMessage("ERR_DESC");
    public static final String ERR_STATEMENT = TDSLanguageUtils.getMessage("ERR_STATEMENT");
    public static final String ERR_DESC_STAT = TDSLanguageUtils.getMessage("ERR_DESC_STAT");
    public static final String ERR_RESERVA_NOEXIST = TDSLanguageUtils.getMessage("ERR_RESERVA_NOEXIST");
    public static final String ERR_RESERVA_SOLAPE = TDSLanguageUtils.getMessage("ERR_RESERVA_SOLAPE");
    public static final String ERR_RESERVA_LLENO = TDSLanguageUtils.getMessage("ERR_RESERVA_LLENO");
    public static final String ERR_RESERVA_COMEN = TDSLanguageUtils.getMessage("ERR_RESERVA_COMEN");
    public static final String ERR_RESERVA_FIN = TDSLanguageUtils.getMessage("ERR_RESERVA_FIN ");
    public static final String ERR_SELEC_AULA = TDSLanguageUtils.getMessage("ERR_SELEC_AULA");
    public static final String ERR_SELEC_RESERVA_EST = TDSLanguageUtils.getMessage("ERR_SELEC_RESERVA_EST");
    public static final String ERR_ARIT = TDSLanguageUtils.getMessage("ERR_ARIT");
  
}
